package dpe;

import static org.lwjgl.opengl.GL11.*;

public class Camera extends GameObject {

	public Camera(World world, String name, Vec3 pos) {
		super(world, name, pos, null);
	}
	
	public void update() {
		
	}

	public void translate() {
		glRotatef(rot.y, 1, 0, 0);
		glRotatef(rot.x, 0, 1, 0);
		glRotatef(rot.z, 0, 0, 1);
		glTranslatef(pos.x, -pos.y, pos.z);
	}
}
